﻿/*------------------------------------------------------------------------

STAGEDDD3D9.HPP v1.0.0

Copyright 楊志賢 CxxlMan, 2014
All Rights Reserved

DD_D3D9 內部用，RD 未定義

------------------------------------------------------------------------*/

#if !defined(__STAGEDDD3D9_HPP_Cxxl3D)
#define __STAGEDDD3D9_HPP_Cxxl3D

#include <Render\Render_Win32\Render_Win32_D3D\RENDER_WIN32_D3D9.HPP>
#include <SMART_PTR.HPP>
#include <d3dx9.h>

// 元件介面的識別碼
#define IStageD3D9_ClassID L"774A65E0B11949c7969DEC3B7A44B240"

namespace Cxxl3D
{

// 用於登記目前作用中的 Stage
// 由 CMutiTextureDDD3D.cpp 主動設定
class IStageDDD3D9:public IDatagramDisposal_D3d9
{

public:
  // Constructor
  IStageDDD3D9()
    :cxxlObject(CxxlMan::Spirit_Easy)
  {
  }

  // Destructor
  virtual ~IStageDDD3D9()
  {}

  virtual void cxxlFASTCALL SetStage(DWORD Stage) = 0;
  virtual DWORD cxxlFASTCALL GetStage() = 0;
};

}   /* namespace Cxxl3D */
#endif
